.preview-wrpper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;

  .header-card {
    width: 100%;
    height: auto;
  }

  .main-card {
    width: 100%;
    height: auto;
    flex-grow: 1;
    overflow: hidden;
  }
}

.main-card .ant-tabs {
  width: 100%;
  height: 100%;
  position: relative;

  .ant-tabs-nav {
    top: 0px;
    z-index: 1;
    position: sticky;
    user-select: none;
    margin: 0 0 8px 0px;
    padding: 0px 12px;

    .ant-tabs-tab {
      padding: 8px;
    }

    .ant-tabs-tab + .ant-tabs-tab {
      margin: 0 0 0 16px;
    }
  }

  .ant-tabs-content-holder {
    width: 100%;
    height: auto;
    overflow: auto;
    padding: 0px 12px;

    &::-webkit-scrollbar {
      width: 6px;
      height: 6px;
    }
    &::-webkit-scrollbar-thumb {
      background-color: silver;
      border-radius: 3px;
    }
    &::-webkit-scrollbar-track {
      background-color: #f1f1f1;
    }

    .button-card {
      top: 0px;
      right: 0px;
      width: 100%;
      height: 0px;
      position: sticky;
      text-align: right;
    }
  }
}
